package com.fr.report.web.ui.impl;

import com.fr.base.Inter;
import com.fr.report.web.ui.Icon;
import com.fr.report.web.ui.IconManager;
import com.fr.report.web.ui.ToolBarButton;
import com.fr.report.web.ui.WebContentUtils;
import com.fr.web.Repository;

public final class Excel extends ToolBarButton
{
  public Excel()
  {
    super(Inter.getLocText("Excel") + "(" + Inter.getLocText("Export-Excel-Page") + ")", IconManager.EXCEL.getName());
  }

  protected String clickAction(Repository paramRepository)
  {
    return WebContentUtils.getExcelExportAction(paramRepository, "page");
  }
}